broadway: Quiet initialisation failures
authorBastien Nocera <hadess@hadess.net>
Mon, 11 Oct 2021 11:55:35 +0000 (13:55 +0200)
committerBastien Nocera <hadess@hadess.net>
Mon, 11 Oct 2021 12:01:20 +0000 (14:01 +0200)
commite6ae3b8a2befa0be0752310ca862da532cfb6bd4
tree3073665e37d6d72e8bd9e10b0e8db0c634eda1a7
parent49a64da7ec596631b1c1a52f87b9f310fffc5613
broadway: Quiet initialisation failures

Broadway is the only GTK+ backend that throws an error on stderr when
failing to initialise, which causes problems when gtk_init_check() is
used and unexpected error output is generated.

This causes hotdoc to fail when generating a GTK plugin's documentation
instead of failing quietly.

"Unable to init server: Could not connect: Connection refused"
gdk/broadway/gdkdisplay-broadway.c